package pe.gob.mimp.web.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

import org.hibernate.Session;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;

import pe.gob.mimp.model.Persona;
import pe.gob.mimp.model.Usuario;

@Controller
public class InicioController {
	@RequestMapping("/inicio.htm")
	public @ModelAttribute("inicio")
	Persona inicio(HttpServletRequest request) {
		Persona obj = new Persona();
		HttpSession session = request.getSession();
		Integer numIntentos = 0;
		String cod_session = session.getId();
		return obj;
	}
}
